package com.ds.shopping_admin_service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ds.shopping_common.pojo.Permission;
import org.apache.ibatis.annotations.Delete;

/**
 * 编写权限Mapper
 */
public interface PermissionMapper extends BaseMapper<Permission> {

    //删除角色_权限表中的数据
    @Delete("delete from bz_role_permission where pid=#{pid}")
    int deletePermissionAllRole(Long pid);



}
